package cc.facesign.acl.service.impl;

import cc.facesign.acl.bean.AclUserRole;
import cc.facesign.acl.mapper.AclUserRoleMapper;
import cc.facesign.acl.service.AclUserRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 用户角色关联表 服务实现类
 * </p>
 *
 * @author acdongla
 * @since 2022-05-02
 */
@Service
@Transactional
public class AclUserRoleServiceImpl extends ServiceImpl<AclUserRoleMapper, AclUserRole> implements AclUserRoleService {

    @Override
    public void deleteRelate(String userId, String roleId) {
        baseMapper.deleteRelate(userId, roleId);
    }
}
